//
//  currentDataSource.h
//  JxCarios
//
//  Created by xcq on 15/1/25.
//  Copyright (c) 2015年 xiongchuanqi. All rights reserved.
//

#import "HFYBaseDataSource.h"
#import <AFNetworking.h>
#import "Common.h"

@interface CurrentDataSource : HFYBaseDataSource
@property (nonatomic  , strong) NSString *userName;
@property (nonatomic  , strong) NSString *passWord;
@property (nonatomic  , strong) NSString *mobile;
@property (nonatomic  , strong) NSString *headImg;
@property (nonatomic  , strong) NSString *rand;
@property (nonatomic  , strong) NSString *city;
@property (nonatomic  , copy)   NSDictionary *info;
@property (nonatomic  , strong) NSString *xinPwd;
@property (nonatomic  , strong) NSString *oldPwd;
@property (nonatomic  , copy) NSString *goodOrno;
@property (nonatomic  , strong) NSString *orderId;
//活动
@property (nonatomic , strong) NSString *activityId;
 


//登录
- (void)userLogin:(SIMPLE_BLOCK_MAKE(id result))callback andFail:(SIMPLE_BLOCK_MAKE(id result))failCallback
;

//注册//找回密码
- (void)registers:(SIMPLE_BLOCK_MAKE(id result))callback withStatus:(NSInteger)status andFail:(SIMPLE_BLOCK_MAKE(id result))failCallback
;
//修改密码
- (void)changePassWord:(SIMPLE_BLOCK_MAKE(id result))callback andFail:(SIMPLE_BLOCK_MAKE(id result))failCallback;

//获取验证码
- (void)getRand:(SIMPLE_BLOCK_MAKE(id result))callback andFail:(SIMPLE_BLOCK_MAKE(id result))failCallback  withStatus:(NSInteger)status;

//获取广告图片
- (void)getHomeActivityPic:(SIMPLE_BLOCK_MAKE(id result))callback andFail:(SIMPLE_BLOCK_MAKE(id result))failCallback
;

//头像上传
- (void)updateUserPhoto:(SIMPLE_BLOCK_MAKE(id result))callback andFail:(SIMPLE_BLOCK_MAKE(id result))failCallback
;

//获取天气code
- (void)getCityCode:(SIMPLE_BLOCK_MAKE(id result))callback 
;

//获取天气信息
- (void)getWeather:(SIMPLE_BLOCK_MAKE(id result))callback andFail:(SIMPLE_BLOCK_MAKE(id result))failCallback
;

//imimembercenter
- (void)getUserInfo:(SIMPLE_BLOCK_MAKE(id result))callback andFail:(SIMPLE_BLOCK_MAKE(id result))failCallback
;

//活动报名
- (void)activitysSignUp:(SIMPLE_BLOCK_MAKE(id result))callback andFail:(SIMPLE_BLOCK_MAKE(id result))failCallback
;

- (void)clickAgree:(SIMPLE_BLOCK_MAKE(id result))callback andFail:(SIMPLE_BLOCK_MAKE(id result))failCallback;



 @end
